Optimal. Leaf size=54 \[ \frac {(a+b)^2 \tan ^{-1}\left (\frac {\sqrt {b} \cosh (x)}{\sqrt {a}}\right )}{\sqrt {a} b^{5/2}}-\frac {(a+2 b) \cosh (x)}{b^2}+\frac {\cosh ^3(x)}{3 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {3190, 390, 205} \[ -\frac {(a+2 b) \cosh (x)}{b^2}+\frac {(a+b)^2 \tan ^{-1}\left (\frac {\sqrt {b} \cosh (x)}{\sqrt {a}}\right )}{\sqrt {a} b^{5/2}}+\frac {\cosh ^3(x)}{3 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 205
Rule 390
Rule 3190
Rubi steps
\begin {align*} \int \frac {\sinh ^5(x)}{a+b \cosh ^2(x)} \, dx &=\operatorname {Subst}\left (\int \frac {\left (1-x^2\right )^2}{a+b x^2} \, dx,x,\cosh (x)\right )\\ &=\operatorname {Subst}\left (\int \left (-\frac {a+2 b}{b^2}+\frac {x^2}{b}+\frac {a^2+2 a b+b^2}{b^2 \left (a+b x^2\right )}\right ) \, dx,x,\cosh (x)\right )\\ &=-\frac {(a+2 b) \cosh (x)}{b^2}+\frac {\cosh ^3(x)}{3 b}+\frac {(a+b)^2 \operatorname {Subst}\left (\int \frac {1}{a+b x^2} \, dx,x,\cosh (x)\right )}{b^2}\\ &=\frac {(a+b)^2 \tan ^{-1}\left (\frac {\sqrt {b} \cosh (x)}{\sqrt {a}}\right )}{\sqrt {a} b^{5/2}}-\frac {(a+2 b) \cosh (x)}{b^2}+\frac {\cosh ^3(x)}{3 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.19, size = 120, normalized size = 2.22 \[ \frac {-3 \sqrt {b} (4 a+7 b) \cosh (x)+\frac {12 (a+b)^2 \tan ^{-1}\left (\frac {\sqrt {b}-i \sqrt {a+b} \tanh \left (\frac {x}{2}\right )}{\sqrt {a}}\right )}{\sqrt {a}}+\frac {12 (a+b)^2 \tan ^{-1}\left (\frac {\sqrt {b}+i \sqrt {a+b} \tanh \left (\frac {x}{2}\right )}{\sqrt {a}}\right )}{\sqrt {a}}+b^{3/2} \cosh (3 x)}{12 b^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.54, size = 1064, normalized size = 19.70 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.08, size = 214, normalized size = 3.96 \[ -\frac {1}{3 b \left (\tanh \left (\frac {x}{2}\right )-1\right )^{3}}-\frac {1}{2 b \left (\tanh \left (\frac {x}{2}\right )-1\right )^{2}}+\frac {a}{b^{2} \left (\tanh \left (\frac {x}{2}\right )-1\right )}+\frac {3}{2 b \left (\tanh \left (\frac {x}{2}\right )-1\right )}+\frac {1}{3 b \left (\tanh \left (\frac {x}{2}\right )+1\right )^{3}}-\frac {1}{2 b \left (\tanh \left (\frac {x}{2}\right )+1\right )^{2}}-\frac {a}{b^{2} \left (\tanh \left (\frac {x}{2}\right )+1\right )}-\frac {3}{2 b \left (\tanh \left (\frac {x}{2}\right )+1\right )}+\frac {\arctan \left (\frac {2 \left (a +b \right ) \left (\tanh ^{2}\left (\frac {x}{2}\right )\right )-2 a +2 b}{4 \sqrt {a b}}\right ) a^{2}}{b^{2} \sqrt {a b}}+\frac {2 \arctan \left (\frac {2 \left (a +b \right ) \left (\tanh ^{2}\left (\frac {x}{2}\right )\right )-2 a +2 b}{4 \sqrt {a b}}\right ) a}{b \sqrt {a b}}+\frac {\arctan \left (\frac {2 \left (a +b \right ) \left (\tanh ^{2}\left (\frac {x}{2}\right )\right )-2 a +2 b}{4 \sqrt {a b}}\right )}{\sqrt {a b}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {{\left (b e^{\left (6 \, x\right )} - 3 \, {\left (4 \, a + 7 \, b\right )} e^{\left (4 \, x\right )} - 3 \, {\left (4 \, a + 7 \, b\right )} e^{\left (2 \, x\right )} + b\right )} e^{\left (-3 \, x\right )}}{24 \, b^{2}} + \frac {1}{32} \, \int \frac {64 \, {\left ({\left (a^{2} + 2 \, a b + b^{2}\right )} e^{\left (3 \, x\right )} - {\left (a^{2} + 2 \, a b + b^{2}\right )} e^{x}\right )}}{b^{3} e^{\left (4 \, x\right )} + b^{3} + 2 \, {\left (2 \, a b^{2} + b^{3}\right )} e^{\left (2 \, x\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.30, size = 548, normalized size = 10.15 \[ \frac {{\mathrm {e}}^{-3\,x}}{24\,b}+\frac {{\mathrm {e}}^{3\,x}}{24\,b}-\frac {{\mathrm {e}}^{-x}\,\left (4\,a+7\,b\right )}{8\,b^2}+\frac {\left (2\,\mathrm {atan}\left (\frac {{\mathrm {e}}^x\,{\left (a+b\right )}^2\,\sqrt {a\,b^5}}{2\,a\,b^2\,\sqrt {{\left (a+b\right )}^4}}\right )-2\,\mathrm {atan}\left (\frac {a\,b^6\,{\mathrm {e}}^x\,\left (\frac {4\,\left (6\,a^2\,b^4\,\sqrt {a^4+4\,a^3\,b+6\,a^2\,b^2+4\,a\,b^3+b^4}+6\,a^3\,b^3\,\sqrt {a^4+4\,a^3\,b+6\,a^2\,b^2+4\,a\,b^3+b^4}+2\,a^4\,b^2\,\sqrt {a^4+4\,a^3\,b+6\,a^2\,b^2+4\,a\,b^3+b^4}+2\,a\,b^5\,\sqrt {a^4+4\,a^3\,b+6\,a^2\,b^2+4\,a\,b^3+b^4}\right )}{a^2\,b^{11}\,{\left (a+b\right )}^2}+\frac {2\,\left (a^5\,\sqrt {a\,b^5}+b^5\,\sqrt {a\,b^5}+5\,a\,b^4\,\sqrt {a\,b^5}+5\,a^4\,b\,\sqrt {a\,b^5}+10\,a^2\,b^3\,\sqrt {a\,b^5}+10\,a^3\,b^2\,\sqrt {a\,b^5}\right )}{a^2\,b^8\,\sqrt {a\,b^5}\,\sqrt {{\left (a+b\right )}^4}}\right )\,\sqrt {a\,b^5}}{4\,a^3+12\,a^2\,b+12\,a\,b^2+4\,b^3}+\frac {2\,{\mathrm {e}}^{3\,x}\,\left (a^5\,\sqrt {a\,b^5}+b^5\,\sqrt {a\,b^5}+5\,a\,b^4\,\sqrt {a\,b^5}+5\,a^4\,b\,\sqrt {a\,b^5}+10\,a^2\,b^3\,\sqrt {a\,b^5}+10\,a^3\,b^2\,\sqrt {a\,b^5}\right )}{a\,b^2\,\sqrt {{\left (a+b\right )}^4}\,\left (4\,a^3+12\,a^2\,b+12\,a\,b^2+4\,b^3\right )}\right )\right )\,\sqrt {a^4+4\,a^3\,b+6\,a^2\,b^2+4\,a\,b^3+b^4}}{2\,\sqrt {a\,b^5}}-\frac {{\mathrm {e}}^x\,\left (4\,a+7\,b\right )}{8\,b^2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________